﻿using Network.UpdateData;
using System.Net.Sockets;

namespace SFJDService.SocketHandle
{
    /// <summary>
    /// 接收到用户界面发来的添加联系人的请求
    /// </summary>
    public class PH03Contact : PacketHandle
    {
        /// <summary>
        /// UDP, code 1040
        /// </summary>
        public PH03Contact(Socket socket, Packet packet) : base(socket, packet) { }

        protected override void Handle()
        {
            Launcher.SendMsg2All(typeof(PH03AddContact).GetDictianaryKey(), Message);
            Delay(200);
            new Synchronization(SynType.Contact);
        }
    }
}
